# Copyright (c) 2020 by @Karirawri
#
# Endless Sky is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# Endless Sky is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.

# Outfits

outfit "Small EM Battery"
	"display name" "小型電磁バッテリー"
	plural "小型電磁バッテリー"
	category "Power"
	series "Batteries"
	index 13010
	cost 200000
	thumbnail "outfit/small embattery"
	"mass" 14
	"outfit space" -14
	"unique" 1
	"shield generation" 0.14
	"shield energy" 0.14
	"shield heat" 0.14
	"heat generation" 0.8
	"energy capacity" 8300
	description "この小さな超伝導誘導体は、戦闘機を動かしつづけるのにちょうど必要な電力をためられる。そしてこれが発生する電磁場は、シールド発生源を維持するのに役だてられていた。"

outfit "Large EM Battery"
	"display name" "大型電磁バッテリー"
	plural "大型電磁バッテリー"
	category "Power"
	series "Batteries"
	index 13020
	cost 1000000
	thumbnail "outfit/embattery"
	"mass" 150
	"outfit space" -150
	"unique" 1
	"shield generation" 0.8
	"shield energy" 0.8
	"shield heat" 0.8
	"heat generation" 6.5
	"energy capacity" 100000
	description "これは巨大な超伝導コイルだ。電磁場に大量のエネルギーをためこむ能力があり、そのすべてを数分の一秒で放出することができる。この磁場は船のシールド再生をすこし促進する効果も備えていた。これを除けば、シールド再生技術開発はぜんぜん進歩していない。"

outfit "Small Hybrid Cooling"
	"display name" "小型ハイブリッド冷却器"
	plural "小型ハイブリッド冷却器"
	category "Systems"
	series "Cooling"
	index 13010
	cost 200000
	thumbnail "outfit/small sheragi cooling"
	"mass" 8
	"outfit space" -8
	"unique" 1
	"cooling" 9
	"active cooling" 17
	"cooling energy" 3.1
	description "この小さな冷却方式は戦闘機を念頭に設計された。そういうわけで、これは燃料を貯蔵しない。けれども、受動的冷却能力はこれの兄よりもっと大きくなっている。"

outfit "Large Hybrid Cooling"
	"display name" "大型ハイブリッド冷却器"
	plural "大型ハイブリッド冷却器"
	category "Systems"
	series "Cooling"
	index 13020
	cost 1000000
	thumbnail "outfit/sheragicooling"
	"mass" 40
	"outfit space" -40
	"unique" 1
	"cooling" 24
	"active cooling" 128
	"cooling energy" 16.2
	"fuel capacity" 200
	description "シャーラギの冷却システムは、よくいっても原始的だった。しかし能動的かつ受動的にも働くので、単純な放熱器よりずっと熱を散逸させることができた。とはいえ、戦いで発生する熱を受けとめると、大量の電力を消費してしまう。これには低温タンクもあって、追加の燃料をためられた。そしてその燃料は、一時的に熱を蓄積するのに使われている。"

outfit "Fission Drive"
	"display name" "核分裂ドライブ"
	plural "核分裂ドライブ"
	category "Engines"
	series "Engines"
	index 13010
	cost 2650000
	thumbnail "outfit/fissiondrive"
	"mass" 71
	"outfit space" -71
	"engine capacity" -38
	"unique" 1
	"energy generation" 5.2
	"heat generation" 19.4
	"thrust" 26.7
	"thrusting energy" 1.508
	"thrusting heat" 2.86
	"turn" 479.7
	"turning energy" 0.585
	"turning heat" 1.365
	"flare sprite" "effect/fissionflare"
		"frame rate" 30
		"rewind"
	"flare sound" "atomic small"
	"steering flare sprite" "effect/fissionflare"
		"frame rate" 30
		"rewind"
	"steering flare sound" "atomic tiny"
	description "核融合ドライブのずっと小さな親類にあたる装置で、核融合ではなく核分裂で動き、大型イオンサイクロトロンを働かせるのに要る電力と推力を生み出す。"

outfit "Fusion Drive"
	"display name" "核融合ドライブ"
	plural "核融合ドライブ"
	category "Engines"
	series "Engines"
	index 13020
	cost 80000000
	thumbnail "outfit/fusiondrive"
	"mass" 480
	"outfit space" -480
	"engine capacity" -230
	"unique" 1
	"jump fuel" 100
	"jump speed" 0.2
	"hyperdrive" 1
	"energy generation" 54
	"heat generation" 156
	"turn" 3744.0
	"turning energy" 4.55
	"turning heat" 12.35
	"thrust" 270.75
	"thrusting energy" 11
	"thrusting heat" 33
	"reverse thrust" 63.9
	"reverse thrusting energy" 4.9
	"reverse thrusting heat" 13.3
	"flare sprite" "effect/fusionflare"
		"frame rate" 30
		"rewind"
	"flare sound" "atomic huge"
	"steering flare sprite" "effect/fusionflare"
		"frame rate" 30
		"rewind"
	"steering flare sound" "atomic medium"
	"reverse flare sprite" "effect/fusionflare"
		"frame rate" 30
		"rewind"
	"reverse flare sound" "atomic large"
	"unplunderable" 1
	description "シャーラギのエンジンは、たんなる火を吹く筒どころではない。これは相互関係をもつ装置の集合体であり、モジュール性を犠牲にして高い効率を備えていた。これにはハイパードライブや巨大な核融合炉、それにあなたがこれまで見たなかでも最強のプラズマエンジンが入っている。すべてが比較的単純な技術の実例ではあるが、これは磨きをかけられ、その極限に到達していた。このエンジンは根本部分が核融合炉につながっていて、推進力はさらに大きく増加している。これにより、エメラルドソードは感動的な速度で飛べるようになり、星系間宇宙をぬけていく旅が比較的容易なものになった。"

outfit "Electronic Warfare System"
	"display name" "電子戦システム"
	plural "電子戦システム"
	category "Systems"
	series "Scanners"
	index 13010
	cost 3400000
	thumbnail "outfit/sheragi ews"
	"mass" 6
	"outfit space" -6
	"unique" 1
	"radar jamming" 10
	"tactical scan power" 25
	"scan interference" 2
	"energy consumption" .2
	description "この装置はレーダー妨害能力と、電子戦に要求される能力ひとそろいをまるごと提供するものだ。これは戦場の情報を遅滞なく収集したり、船の戦闘能力の向上したりもした。この電子戦システムはどのシャーラギの軍艦にとっても必須のものだった。そしてこれを使った技法は、この現代になってもいまだ対抗するのが難しい。"

# Weapons

outfit "Dragonflame Cannon"
	"display name" "ドラゴンフレイムキャノン"
	plural "ドラゴンフレイムキャノン"
	category "Secondary Weapons"
	series "Secondary Weapons"
	index 13020
	cost 150000000
	thumbnail "outfit/dragonflame"
	"mass" 156
	"outfit space" -156
	"weapon capacity" -156
	"required crew" 10
	"gun ports" -1
	"spinal mount" -1
	"unique" 1
	weapon
		sound "dragonflame"
		icon "icon/dragonflame"
		"fire effect" "dragonflame"
		"hit effect" "bright hit"
		"hit effect" "dragonflame plasma" 30
		"hit effect" "dragonflame debris" 50
		"velocity" 2000
		"lifetime" 1
		"reload" 180
		"firing energy" 16000
		"firing fuel" 200
		"firing heat" 40000
		"firing force" 1500
		"hit force" 3000
		"shield damage" 25000
		"hull damage" 15000
		"heat damage" 50000
		"piercing" 0.4
		"penetration count" 20
	description "古代シャーラギの超兵器は、発想としては単純なものだ。しかしそのようなものの開発にともなう犠牲は、とほうもないものだった。なにがこのようなものを作る動機になったのか、心に描くのは難しい。これは節度を欠いた大量のエネルギーを使い、極端に強力な熱核反応をひきおこす。生じた爆発によるエネルギーのほとんどは、前方に指向した破滅的に強力なガンマ線ビームとなるのだ。"

effect "dragonflame"
	sprite "effect/dragonflame"
		"no repeat"
		"frame rate" 12
	"lifetime" 21
	"velocity scale" 1

effect "bright hit"
	sprite "effect/explosion/nuke"
		"no repeat"
		"frame rate" 60
	sound "explosion nuke"
	"lifetime" 7
	"random angle" 360
	"random spin" 30
	"velocity scale" 0.005

effect "dragonflame plasma"
	sprite "effect/explosion/large"
		"no repeat"
		"frame rate" 20
	"lifetime" 25
	"random frame rate" 20
	"random spin" 5
	"random angle" 15
	"random velocity" 40
	"velocity scale" 0.002

effect "dragonflame debris"
	sprite "effect/bolide"
		"no repeat"
		"frame rate" 6
	"lifetime" 60
	"random frame rate" 6
	"random angle" 25
	"random spin" 60
	"random velocity" 30
	"velocity scale" 0.001

outfit "Sheragi Anti-Missile"
	"display name" "シャーラギ・対ミサイル"
	plural "シャーラギ・対ミサイル"
	category "Turrets"
	series "Anti-Missile"
	index 13010
	cost 845000
	thumbnail "outfit/sheragiam"
	"mass" 35
	"outfit space" -35
	"weapon capacity" -35
	"turret mounts" -1
	"unique" 1
	weapon
		"hardpoint sprite" "hardpoint/sheragiam"
		"hardpoint offset" 1.5
		"hit effect" "sheragiam"
		"anti-missile" 200
		"velocity" 450
		"lifetime" 1
		"reload" 60
		"firing energy" 220
		"firing heat" 440
	description "シャーラギ・対ミサイルは、どんなミサイルも一撃で消し飛ばせるきわめて強力なレーザーパルスを放つ。ただし、その代償として次の一撃までに長い時間がかかる。"

effect "sheragiam"
	sprite "effect/sheragiam"
		"no repeat"
		"frame rate" 30
	sound "proton"
	"lifetime" 5
	"velocity scale" 1

outfit "Particle Waveform Turret"
	"display name" "パーティクルウエイブフォーム砲塔"
	plural "パーティクルウエイブフォーム砲塔"
	category "Turrets"
	series "Turrets"
	index 13010
	cost 1650000
	thumbnail "outfit/pwave turret"
	"mass" 47
	"outfit space" -47
	"weapon capacity" -47
	"turret mounts" -1
	"required crew" 1
	"unique" 1
	weapon
		sprite "projectile/pwavecannon"
			"frame rate" 20
		sound "pwave"
		"hardpoint sprite" "hardpoint/pwavehp"
		"hardpoint offset" 11
		"fire effect" "lightning flare"
		"hit effect" "pwave impact"
		"inaccuracy" 1.5
		"turret turn" 1.2
		"velocity" 50
		"lifetime" 18
		"reload" 60
		"firing energy" 180
		"firing heat" 651
		"shield damage" 95
		"hull damage" 270
		"heat damage" 224
		"ion damage" 4.2
		"scrambling damage" 4.2
	description "この古代シャーラギの砲塔は、密になった電子の束を加速させる。それはどのような種のシールドにたいしてもあまり効果のあるものではないが、とても長い射程があるうえ、電子システムを妨害してしまうのだ。この武器の特性により、シャーラギの戦術は遠距離からドラゴンフレイムキャノンを使って敵のシールドを破壊し、さらに近づいてからパーティクルウエイブフォーム砲塔でとどめをさすといったところらしいと推測ができた。"

effect "lightning flare"
	sprite "effect/pwaveflare"
		"no repeat"
		"frame rate" 30
	"lifetime" 7
	"velocity scale" 1

effect "pwave impact"
	sprite "effect/pwave impact"
		"no repeat"
		"frame rate" 10
	"lifetime" 19
	"random angle" 10
	"random spin" 1
	"velocity scale" -.001

outfit "Shard Fabricator"
	"display name" "シャードファブリケイター"
	plural "シャードファブリケイター"
	category "Secondary Weapons"
	series "Secondary Weapons"
	index 13010
	cost 330000
	thumbnail "outfit/shard"
	"mass" 10
	"outfit space" -10
	"weapon capacity" -7
	"fuel capacity" 36
	"gun ports" -1
	"unique" 1
	"operating costs" 150
	weapon
		sprite "projectile/shardactive"
			"frame rate" 30
			"random start frame"
		sound "grab-strike"
		icon "icon/shard"
		"fire effect" "basic launch"
		"hit effect" "shard impact"
		"submunition" "Shard inactive"
		"inaccuracy" 80
		"velocity" 15
		"lifetime" 40
		"random lifetime" 20
		"reload" 60
		"burst reload" 2
		"burst count" 6
		"firing energy" 40
		"firing fuel" 2
		"firing heat" 60
		"acceleration" 1.5
		"drag" .1
		"turn" 8
		"homing"
			"leading"
			"throttle control"
		"radar tracking" .8
		"missile strength" 1
	description "長引く戦争時代に供給網への依存を減らそうとして、この艤装品はとくべつな製造機を内蔵した。これは単純な運動エネルギーミサイルを、備蓄した原材料と少量の燃料から作りだすが、誘導システムは船のレーダーから情報を受けとるだけである。ミサイルはいちどに発射機それぞれから 6 発斉射されるので、もろいものではあったが、局地防御力を圧倒するのにとても効果的だった。とはいえ、これがもつ燃料は少量なので、約 1 秒間しか目標に追従できず、そのあとは無誘導の弾体に変わってしまう。これは即席に製造されるので、再装填には長い時間がかかった。"

outfit "Shard inactive"
	"display name" "不活性シャード"
	plural "不活性シャード"
	weapon
		sprite "projectile/shardinactive"
			"frame rate" 5
			"random start frame"
		"hit effect" "shard impact"
		"die effect" "missile death"
		"lifetime" 60
		"random lifetime" 40
		"hit force" 30
		"shield damage" 110
		"hull damage" 160

effect "shard impact"
	sprite "effect/particle impact"
		"no repeat"
		"frame rate" 30
	sound "explosion tiny"
	"lifetime" 30
	"velocity scale" 0

outfit "Heavy Ion Cyclotron"
	"display name" "大型イオンサイクロトロン"
	plural "大型イオンサイクロトロン"
	category "Guns"
	series "Guns"
	index 13010
	cost 1650000
	thumbnail "outfit/hion"
	"mass" 33
	"outfit space" -33
	"weapon capacity" -21
	"gun ports" -1
	"unique" 1
	weapon
		sprite "projectile/hion"
			"frame rate" 30
		sound "hion"
		"hit effect" "proton impact" 3
		"submunition" "Heavy Ion Fragment" 3
		"velocity" 28
		"lifetime" 1
		"reload" 1
		"firing energy" 2.9
		"firing heat" 12.2
		"firing force" 13.5
	description "シャーラギの戦闘機の主要武器は、粒子加速器だ。これは共和国海軍やシンジケートが使っているものに似ていなくもない。とはいえ、これはもっと軽い粒子流ではなく、重金属イオンの密な流れを生成する。だから与える損害は大きく、反動は強烈だ。粒子加速器自体はほかの場所に設置できるので、必要武器区画は少なめになっている。"

outfit "Heavy Ion Fragment"
	"display name" "大型イオンの破片"
	plural "大型イオンの破片"
	weapon
		sprite "projectile/hionfrag"
			"no repeat"
			"frame time" 8
		"hit effect" "proton impact"
		"inaccuracy" 1
		"random velocity" 8
		"lifetime" 25
		"random lifetime" 8
		"acceleration" 0.001
		"drag" .02
		"hit force" 4.5
		"shield damage" 1.79
		"hull damage" 1.47
